package com.example.onlinemonitoring.model;

import com.example.onlinemonitoring.model.common.sensor;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.example.onlinemonitoring.AOP.Float2Serializer;
import javax.persistence.Id;
import java.util.Date;

public class Sctmhistory extends sensor {
    @Id
    private Long id;

    /**
     * 变电站编号
     */
    private Integer stationid;

    private Integer devicegroup;

    /**
     * 设备地址
     */
    private Integer deviceaddr;

    private String addrname;

    /**
     * 监测点
     */
    private Integer pointaddr;

    /**
     * 监测点的名称
     */
    private String pointname;

    /**
     * 据数时间
     */
    private Date datatime;

    /**
     * 数据时间
     */
    private Date datatimexj;

    /**
     * 上触头A相-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float aupcontact;

    /**
     * 上触头B相-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float bupcontact;

    /**
     * 上触头C相-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float cupcontact;

    /**
     * 下触头A相-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float alowcontact;

    /**
     * 下触头B相-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float blowcontact;

    /**
     * 下触头C相-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float clowcontact;

    /**
     * A相电缆-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float acable;

    /**
     * B相电缆-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float bcable;

    /**
     * C相电缆-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float ccable;

    /**
     * 上触头A相电池电压
     */
    private Integer batteryvoltage1;

    /**
     * 上触头B相电池电压
     */
    private Integer batteryvoltage2;

    /**
     * 上触头C相电池电压
     */
    private Integer batteryvoltage3;

    /**
     * 下触头A相电池电压
     */
    private Integer batteryvoltage4;

    /**
     * 下触头B相电池电压
     */
    private Integer batteryvoltage5;

    /**
     * 下触头C相电池电压
     */
    private Integer batteryvoltage6;

    /**
     * A相电缆电池电压-
     */
    private Integer batteryvoltage7;

    /**
     * B相电缆电池电压-
     */
    private Integer batteryvoltage8;

    /**
     * C相电缆电池电压-
     */
    private Integer batteryvoltage9;

    /**
     * 报警级别。0=正常，1=预警，2=报警
     */
    private Integer alarmlevel;

    /**
     * 上次报警信息。如果无报警，则置为空文本。
     */
    private String alarmmessage;

    /**
     * A相备用-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float aspare;

    /**
     * B相备用-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float bspare;

    /**
     * C相备用-
     */
    @JsonSerialize(using = Float2Serializer.class)
    private Float cspare;

    /**
     * 备注信息
     */
    private String memo;

    /**
     * 是否投运
     */
    private Integer inuse;

    /**
     * 字段的显示和隐藏
     */
    private String style;

    private Integer batteryvoltage9alarmstatus;

    private Integer batteryvoltage8alarmstatus;

    private Integer batteryvoltage7alarmstatus;

    private Integer batteryvoltage6alarmstatus;

    private Integer batteryvoltage5alarmstatus;

    private Integer batteryvoltage4alarmstatus;

    private Integer batteryvoltage3alarmstatus;

    private Integer batteryvoltage2alarmstatus;

    private Integer batteryvoltage1alarmstatus;

    private Integer csparealarmstatus;

    private Integer bsparealarmstatus;

    private Integer asparealarmstatus;

    private Integer ccablealarmstatus;

    private Integer bcablealarmstatus;

    private Integer acablealarmstatus;

    private Integer clowcontactalarmstatus;

    private Integer blowcontactalarmstatus;

    private Integer alowcontactalarmstatus;

    private Integer cupcontactalarmstatus;

    private Integer bupcontactalarmstatus;

    private Integer aupcontactalarmstatus;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取变电站编号
     *
     * @return stationid - 变电站编号
     */
    public Integer getStationid() {
        return stationid;
    }

    /**
     * 设置变电站编号
     *
     * @param stationid 变电站编号
     */
    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    /**
     * @return devicegroup
     */
    public Integer getDevicegroup() {
        return devicegroup;
    }

    /**
     * @param devicegroup
     */
    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    /**
     * 获取设备地址
     *
     * @return deviceaddr - 设备地址
     */
    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    /**
     * 设置设备地址
     *
     * @param deviceaddr 设备地址
     */
    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    /**
     * @return addrname
     */
    public String getAddrname() {
        return addrname;
    }

    /**
     * @param addrname
     */
    public void setAddrname(String addrname) {
        this.addrname = addrname;
    }

    /**
     * 获取监测点
     *
     * @return pointaddr - 监测点
     */
    public Integer getPointaddr() {
        return pointaddr;
    }

    /**
     * 设置监测点
     *
     * @param pointaddr 监测点
     */
    public void setPointaddr(Integer pointaddr) {
        this.pointaddr = pointaddr;
    }

    /**
     * 获取监测点的名称
     *
     * @return pointname - 监测点的名称
     */
    public String getPointname() {
        return pointname;
    }

    /**
     * 设置监测点的名称
     *
     * @param pointname 监测点的名称
     */
    public void setPointname(String pointname) {
        this.pointname = pointname;
    }

    /**
     * 获取据数时间
     *
     * @return datatime - 据数时间
     */
    public Date getDatatime() {
        return datatime;
    }

    /**
     * 设置据数时间
     *
     * @param datatime 据数时间
     */
    public void setDatatime(Date datatime) {
        this.datatime = datatime;
    }

    /**
     * 获取数据时间
     *
     * @return datatimexj - 数据时间
     */
    public Date getDatatimexj() {
        return datatimexj;
    }

    /**
     * 设置数据时间
     *
     * @param datatimexj 数据时间
     */
    public void setDatatimexj(Date datatimexj) {
        this.datatimexj = datatimexj;
    }

    /**
     * 获取上触头A相-
     *
     * @return aupcontact - 上触头A相-
     */
    public Float getAupcontact() {
        return aupcontact;
    }

    /**
     * 设置上触头A相-
     *
     * @param aupcontact 上触头A相-
     */
    public void setAupcontact(Float aupcontact) {
        this.aupcontact = aupcontact;
    }

    /**
     * 获取上触头B相-
     *
     * @return bupcontact - 上触头B相-
     */
    public Float getBupcontact() {
        return bupcontact;
    }

    /**
     * 设置上触头B相-
     *
     * @param bupcontact 上触头B相-
     */
    public void setBupcontact(Float bupcontact) {
        this.bupcontact = bupcontact;
    }

    /**
     * 获取上触头C相-
     *
     * @return cupcontact - 上触头C相-
     */
    public Float getCupcontact() {
        return cupcontact;
    }

    /**
     * 设置上触头C相-
     *
     * @param cupcontact 上触头C相-
     */
    public void setCupcontact(Float cupcontact) {
        this.cupcontact = cupcontact;
    }

    /**
     * 获取下触头A相-
     *
     * @return alowcontact - 下触头A相-
     */
    public Float getAlowcontact() {
        return alowcontact;
    }

    /**
     * 设置下触头A相-
     *
     * @param alowcontact 下触头A相-
     */
    public void setAlowcontact(Float alowcontact) {
        this.alowcontact = alowcontact;
    }

    /**
     * 获取下触头B相-
     *
     * @return blowcontact - 下触头B相-
     */
    public Float getBlowcontact() {
        return blowcontact;
    }

    /**
     * 设置下触头B相-
     *
     * @param blowcontact 下触头B相-
     */
    public void setBlowcontact(Float blowcontact) {
        this.blowcontact = blowcontact;
    }

    /**
     * 获取下触头C相-
     *
     * @return clowcontact - 下触头C相-
     */
    public Float getClowcontact() {
        return clowcontact;
    }

    /**
     * 设置下触头C相-
     *
     * @param clowcontact 下触头C相-
     */
    public void setClowcontact(Float clowcontact) {
        this.clowcontact = clowcontact;
    }

    /**
     * 获取A相电缆-
     *
     * @return acable - A相电缆-
     */
    public Float getAcable() {
        return acable;
    }

    /**
     * 设置A相电缆-
     *
     * @param acable A相电缆-
     */
    public void setAcable(Float acable) {
        this.acable = acable;
    }

    /**
     * 获取B相电缆-
     *
     * @return bcable - B相电缆-
     */
    public Float getBcable() {
        return bcable;
    }

    /**
     * 设置B相电缆-
     *
     * @param bcable B相电缆-
     */
    public void setBcable(Float bcable) {
        this.bcable = bcable;
    }

    /**
     * 获取C相电缆-
     *
     * @return ccable - C相电缆-
     */
    public Float getCcable() {
        return ccable;
    }

    /**
     * 设置C相电缆-
     *
     * @param ccable C相电缆-
     */
    public void setCcable(Float ccable) {
        this.ccable = ccable;
    }

    /**
     * 获取上触头A相电池电压
     *
     * @return batteryvoltage1 - 上触头A相电池电压
     */
    public Integer getBatteryvoltage1() {
        return batteryvoltage1;
    }

    /**
     * 设置上触头A相电池电压
     *
     * @param batteryvoltage1 上触头A相电池电压
     */
    public void setBatteryvoltage1(Integer batteryvoltage1) {
        this.batteryvoltage1 = batteryvoltage1;
    }

    /**
     * 获取上触头B相电池电压
     *
     * @return batteryvoltage2 - 上触头B相电池电压
     */
    public Integer getBatteryvoltage2() {
        return batteryvoltage2;
    }

    /**
     * 设置上触头B相电池电压
     *
     * @param batteryvoltage2 上触头B相电池电压
     */
    public void setBatteryvoltage2(Integer batteryvoltage2) {
        this.batteryvoltage2 = batteryvoltage2;
    }

    /**
     * 获取上触头C相电池电压
     *
     * @return batteryvoltage3 - 上触头C相电池电压
     */
    public Integer getBatteryvoltage3() {
        return batteryvoltage3;
    }

    /**
     * 设置上触头C相电池电压
     *
     * @param batteryvoltage3 上触头C相电池电压
     */
    public void setBatteryvoltage3(Integer batteryvoltage3) {
        this.batteryvoltage3 = batteryvoltage3;
    }

    /**
     * 获取下触头A相电池电压
     *
     * @return batteryvoltage4 - 下触头A相电池电压
     */
    public Integer getBatteryvoltage4() {
        return batteryvoltage4;
    }

    /**
     * 设置下触头A相电池电压
     *
     * @param batteryvoltage4 下触头A相电池电压
     */
    public void setBatteryvoltage4(Integer batteryvoltage4) {
        this.batteryvoltage4 = batteryvoltage4;
    }

    /**
     * 获取下触头B相电池电压
     *
     * @return batteryvoltage5 - 下触头B相电池电压
     */
    public Integer getBatteryvoltage5() {
        return batteryvoltage5;
    }

    /**
     * 设置下触头B相电池电压
     *
     * @param batteryvoltage5 下触头B相电池电压
     */
    public void setBatteryvoltage5(Integer batteryvoltage5) {
        this.batteryvoltage5 = batteryvoltage5;
    }

    /**
     * 获取下触头C相电池电压
     *
     * @return batteryvoltage6 - 下触头C相电池电压
     */
    public Integer getBatteryvoltage6() {
        return batteryvoltage6;
    }

    /**
     * 设置下触头C相电池电压
     *
     * @param batteryvoltage6 下触头C相电池电压
     */
    public void setBatteryvoltage6(Integer batteryvoltage6) {
        this.batteryvoltage6 = batteryvoltage6;
    }

    /**
     * 获取A相电缆电池电压-
     *
     * @return batteryvoltage7 - A相电缆电池电压-
     */
    public Integer getBatteryvoltage7() {
        return batteryvoltage7;
    }

    /**
     * 设置A相电缆电池电压-
     *
     * @param batteryvoltage7 A相电缆电池电压-
     */
    public void setBatteryvoltage7(Integer batteryvoltage7) {
        this.batteryvoltage7 = batteryvoltage7;
    }

    /**
     * 获取B相电缆电池电压-
     *
     * @return batteryvoltage8 - B相电缆电池电压-
     */
    public Integer getBatteryvoltage8() {
        return batteryvoltage8;
    }

    /**
     * 设置B相电缆电池电压-
     *
     * @param batteryvoltage8 B相电缆电池电压-
     */
    public void setBatteryvoltage8(Integer batteryvoltage8) {
        this.batteryvoltage8 = batteryvoltage8;
    }

    /**
     * 获取C相电缆电池电压-
     *
     * @return batteryvoltage9 - C相电缆电池电压-
     */
    public Integer getBatteryvoltage9() {
        return batteryvoltage9;
    }

    /**
     * 设置C相电缆电池电压-
     *
     * @param batteryvoltage9 C相电缆电池电压-
     */
    public void setBatteryvoltage9(Integer batteryvoltage9) {
        this.batteryvoltage9 = batteryvoltage9;
    }

    /**
     * 获取报警级别。0=正常，1=预警，2=报警
     *
     * @return alarmlevel - 报警级别。0=正常，1=预警，2=报警
     */
    public Integer getAlarmlevel() {
        return alarmlevel;
    }

    /**
     * 设置报警级别。0=正常，1=预警，2=报警
     *
     * @param alarmlevel 报警级别。0=正常，1=预警，2=报警
     */
    public void setAlarmlevel(Integer alarmlevel) {
        this.alarmlevel = alarmlevel;
    }

    /**
     * 获取上次报警信息。如果无报警，则置为空文本。
     *
     * @return alarmmessage - 上次报警信息。如果无报警，则置为空文本。
     */
    public String getAlarmmessage() {
        return alarmmessage;
    }

    /**
     * 设置上次报警信息。如果无报警，则置为空文本。
     *
     * @param alarmmessage 上次报警信息。如果无报警，则置为空文本。
     */
    public void setAlarmmessage(String alarmmessage) {
        this.alarmmessage = alarmmessage;
    }

    /**
     * 获取A相备用-
     *
     * @return aspare - A相备用-
     */
    public Float getAspare() {
        return aspare;
    }

    /**
     * 设置A相备用-
     *
     * @param aspare A相备用-
     */
    public void setAspare(Float aspare) {
        this.aspare = aspare;
    }

    /**
     * 获取B相备用-
     *
     * @return bspare - B相备用-
     */
    public Float getBspare() {
        return bspare;
    }

    /**
     * 设置B相备用-
     *
     * @param bspare B相备用-
     */
    public void setBspare(Float bspare) {
        this.bspare = bspare;
    }

    /**
     * 获取C相备用-
     *
     * @return cspare - C相备用-
     */
    public Float getCspare() {
        return cspare;
    }

    /**
     * 设置C相备用-
     *
     * @param cspare C相备用-
     */
    public void setCspare(Float cspare) {
        this.cspare = cspare;
    }

    /**
     * 获取备注信息
     *
     * @return memo - 备注信息
     */
    public String getMemo() {
        return memo;
    }

    /**
     * 设置备注信息
     *
     * @param memo 备注信息
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 获取是否投运
     *
     * @return inuse - 是否投运
     */
    public Integer getInuse() {
        return inuse;
    }

    /**
     * 设置是否投运
     *
     * @param inuse 是否投运
     */
    public void setInuse(Integer inuse) {
        this.inuse = inuse;
    }

    /**
     * 获取字段的显示和隐藏
     *
     * @return style - 字段的显示和隐藏
     */
    public String getStyle() {
        return style;
    }

    /**
     * 设置字段的显示和隐藏
     *
     * @param style 字段的显示和隐藏
     */
    public void setStyle(String style) {
        this.style = style;
    }

    /**
     * @return batteryvoltage9alarmstatus
     */
    public Integer getBatteryvoltage9alarmstatus() {
        return batteryvoltage9alarmstatus;
    }

    /**
     * @param batteryvoltage9alarmstatus
     */
    public void setBatteryvoltage9alarmstatus(Integer batteryvoltage9alarmstatus) {
        this.batteryvoltage9alarmstatus = batteryvoltage9alarmstatus;
    }

    /**
     * @return batteryvoltage8alarmstatus
     */
    public Integer getBatteryvoltage8alarmstatus() {
        return batteryvoltage8alarmstatus;
    }

    /**
     * @param batteryvoltage8alarmstatus
     */
    public void setBatteryvoltage8alarmstatus(Integer batteryvoltage8alarmstatus) {
        this.batteryvoltage8alarmstatus = batteryvoltage8alarmstatus;
    }

    /**
     * @return batteryvoltage7alarmstatus
     */
    public Integer getBatteryvoltage7alarmstatus() {
        return batteryvoltage7alarmstatus;
    }

    /**
     * @param batteryvoltage7alarmstatus
     */
    public void setBatteryvoltage7alarmstatus(Integer batteryvoltage7alarmstatus) {
        this.batteryvoltage7alarmstatus = batteryvoltage7alarmstatus;
    }

    /**
     * @return batteryvoltage6alarmstatus
     */
    public Integer getBatteryvoltage6alarmstatus() {
        return batteryvoltage6alarmstatus;
    }

    /**
     * @param batteryvoltage6alarmstatus
     */
    public void setBatteryvoltage6alarmstatus(Integer batteryvoltage6alarmstatus) {
        this.batteryvoltage6alarmstatus = batteryvoltage6alarmstatus;
    }

    /**
     * @return batteryvoltage5alarmstatus
     */
    public Integer getBatteryvoltage5alarmstatus() {
        return batteryvoltage5alarmstatus;
    }

    /**
     * @param batteryvoltage5alarmstatus
     */
    public void setBatteryvoltage5alarmstatus(Integer batteryvoltage5alarmstatus) {
        this.batteryvoltage5alarmstatus = batteryvoltage5alarmstatus;
    }

    /**
     * @return batteryvoltage4alarmstatus
     */
    public Integer getBatteryvoltage4alarmstatus() {
        return batteryvoltage4alarmstatus;
    }

    /**
     * @param batteryvoltage4alarmstatus
     */
    public void setBatteryvoltage4alarmstatus(Integer batteryvoltage4alarmstatus) {
        this.batteryvoltage4alarmstatus = batteryvoltage4alarmstatus;
    }

    /**
     * @return batteryvoltage3alarmstatus
     */
    public Integer getBatteryvoltage3alarmstatus() {
        return batteryvoltage3alarmstatus;
    }

    /**
     * @param batteryvoltage3alarmstatus
     */
    public void setBatteryvoltage3alarmstatus(Integer batteryvoltage3alarmstatus) {
        this.batteryvoltage3alarmstatus = batteryvoltage3alarmstatus;
    }

    /**
     * @return batteryvoltage2alarmstatus
     */
    public Integer getBatteryvoltage2alarmstatus() {
        return batteryvoltage2alarmstatus;
    }

    /**
     * @param batteryvoltage2alarmstatus
     */
    public void setBatteryvoltage2alarmstatus(Integer batteryvoltage2alarmstatus) {
        this.batteryvoltage2alarmstatus = batteryvoltage2alarmstatus;
    }

    /**
     * @return batteryvoltage1alarmstatus
     */
    public Integer getBatteryvoltage1alarmstatus() {
        return batteryvoltage1alarmstatus;
    }

    /**
     * @param batteryvoltage1alarmstatus
     */
    public void setBatteryvoltage1alarmstatus(Integer batteryvoltage1alarmstatus) {
        this.batteryvoltage1alarmstatus = batteryvoltage1alarmstatus;
    }

    /**
     * @return csparealarmstatus
     */
    public Integer getCsparealarmstatus() {
        return csparealarmstatus;
    }

    /**
     * @param csparealarmstatus
     */
    public void setCsparealarmstatus(Integer csparealarmstatus) {
        this.csparealarmstatus = csparealarmstatus;
    }

    /**
     * @return bsparealarmstatus
     */
    public Integer getBsparealarmstatus() {
        return bsparealarmstatus;
    }

    /**
     * @param bsparealarmstatus
     */
    public void setBsparealarmstatus(Integer bsparealarmstatus) {
        this.bsparealarmstatus = bsparealarmstatus;
    }

    /**
     * @return asparealarmstatus
     */
    public Integer getAsparealarmstatus() {
        return asparealarmstatus;
    }

    /**
     * @param asparealarmstatus
     */
    public void setAsparealarmstatus(Integer asparealarmstatus) {
        this.asparealarmstatus = asparealarmstatus;
    }

    /**
     * @return ccablealarmstatus
     */
    public Integer getCcablealarmstatus() {
        return ccablealarmstatus;
    }

    /**
     * @param ccablealarmstatus
     */
    public void setCcablealarmstatus(Integer ccablealarmstatus) {
        this.ccablealarmstatus = ccablealarmstatus;
    }

    /**
     * @return bcablealarmstatus
     */
    public Integer getBcablealarmstatus() {
        return bcablealarmstatus;
    }

    /**
     * @param bcablealarmstatus
     */
    public void setBcablealarmstatus(Integer bcablealarmstatus) {
        this.bcablealarmstatus = bcablealarmstatus;
    }

    /**
     * @return acablealarmstatus
     */
    public Integer getAcablealarmstatus() {
        return acablealarmstatus;
    }

    /**
     * @param acablealarmstatus
     */
    public void setAcablealarmstatus(Integer acablealarmstatus) {
        this.acablealarmstatus = acablealarmstatus;
    }

    /**
     * @return clowcontactalarmstatus
     */
    public Integer getClowcontactalarmstatus() {
        return clowcontactalarmstatus;
    }

    /**
     * @param clowcontactalarmstatus
     */
    public void setClowcontactalarmstatus(Integer clowcontactalarmstatus) {
        this.clowcontactalarmstatus = clowcontactalarmstatus;
    }

    /**
     * @return blowcontactalarmstatus
     */
    public Integer getBlowcontactalarmstatus() {
        return blowcontactalarmstatus;
    }

    /**
     * @param blowcontactalarmstatus
     */
    public void setBlowcontactalarmstatus(Integer blowcontactalarmstatus) {
        this.blowcontactalarmstatus = blowcontactalarmstatus;
    }

    /**
     * @return alowcontactalarmstatus
     */
    public Integer getAlowcontactalarmstatus() {
        return alowcontactalarmstatus;
    }

    /**
     * @param alowcontactalarmstatus
     */
    public void setAlowcontactalarmstatus(Integer alowcontactalarmstatus) {
        this.alowcontactalarmstatus = alowcontactalarmstatus;
    }

    /**
     * @return cupcontactalarmstatus
     */
    public Integer getCupcontactalarmstatus() {
        return cupcontactalarmstatus;
    }

    /**
     * @param cupcontactalarmstatus
     */
    public void setCupcontactalarmstatus(Integer cupcontactalarmstatus) {
        this.cupcontactalarmstatus = cupcontactalarmstatus;
    }

    /**
     * @return bupcontactalarmstatus
     */
    public Integer getBupcontactalarmstatus() {
        return bupcontactalarmstatus;
    }

    /**
     * @param bupcontactalarmstatus
     */
    public void setBupcontactalarmstatus(Integer bupcontactalarmstatus) {
        this.bupcontactalarmstatus = bupcontactalarmstatus;
    }

    /**
     * @return aupcontactalarmstatus
     */
    public Integer getAupcontactalarmstatus() {
        return aupcontactalarmstatus;
    }

    /**
     * @param aupcontactalarmstatus
     */
    public void setAupcontactalarmstatus(Integer aupcontactalarmstatus) {
        this.aupcontactalarmstatus = aupcontactalarmstatus;
    }
}